package com.ruoyi.system.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.anno.SnowflakeId;
import lombok.Data;
import java.math.BigDecimal;

/**
 * 货位信息对象 wms_warehouse_location
 *
 * @author ruoyi
 * @date 2025-06-17
 */
@Data
public class WmsWarehouseLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货位ID */
    @SnowflakeId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long locationId;

    /** 所属货架ID */
    @ExcelProperty(value = "所属货架ID")
    private Long rackId;

    /** 货位编码 */
    @ExcelProperty(value = "货位编码")
    private String locationCode;

    /** 所在层 */
    @ExcelProperty(value = "所在层")
    private Long levelNum;

    /** 所在列 */
    @ExcelProperty(value = "所在列")
    private Long columnNum;

    /** 最大承重(kg) */
    @ExcelProperty(value = "最大承重(kg)")
    private BigDecimal maxWeight;

    /** 长度(mm) */
    @ExcelProperty(value = "长度(mm)")
    private BigDecimal length;

    /** 宽度(mm) */
    @ExcelProperty(value = "宽度(mm)")
    private BigDecimal width;

    /** 高度(mm) */
    @ExcelProperty(value = "高度(mm)")
    private BigDecimal height;

    /** 货位状态 */
    @ExcelProperty(value = "货位状态")
    private String status;

    /** 存储类型:1-托盘,2-纸箱,3-单品,4-散装 */
    private String storageType;

    /** 货架编码 */
    private String rackCode;


}
